package com.auth.domain.module.po.authmanage;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * User
 *
 * @description:
 * @author: cyj
 * @date 2020 -10-26 08:50:21
 */
@Data
@TableName("tt_user")
@Accessors(chain = true)
public class User implements Serializable {

    private static final long serialVersionUID = -1691515730034105412L;
    /**
     * Id
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * Login id
     */
    @ApiModelProperty("账号")
    private String loginId;

    /**
     * Password
     */
    @ApiModelProperty("密码")
    private String password;

    /**
     * Name
     */
    @ApiModelProperty("名字")
    private String name;

    /**
     * Create date
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createDate;

    /**
     * Update date
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateDate;

}
